package com.hanamaki.oop.demo02;

public class Application {

    public static void main(String[] args) {

        /* 想要实例化（初始化） Student类     实例化类之后 得到的 引用变量就是一个 具体的 对象  */
        Student zs = new Student();
        zs.name = "张三";
        zs.age = 15;
        /* 对象 怎么打印 */
        System.out.println(zs.toString());

        Student ls = new Student();
        ls.name = "李四";
        ls.age = 16;
        System.out.println(ls.toString());

        Person person = new Person();
        person.name = "hanamaki";

        System.out.println(person.name);



    }
}
